using System.Text.Json.Serialization;

namespace Ctyun.CF.SDK.Example;

public class InvokeFlowRequest
    {
        [JsonPropertyName("executionName")]
        [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
        public string? ExecutionName { get; set; }

        /// <summary>
        /// 输入,json字符串
        /// </summary>
        [JsonPropertyName("input")]
        public string Input { get; set; } = string.Empty;

        /// <summary>
        /// 工作流名称
        /// </summary>
        [JsonPropertyName("workflowName")]
        public string WorkflowName { get; set; } = string.Empty;
    }